메인 콘텐츠로 건너뛰기
POST
/
metric
/
campaign
Get a campaign metric
curl --request POST \
  --url https://your_a2_service/metric/campaign \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "from_datetime": "2023-11-07T05:31:56Z",
  "to_datetime": "2023-11-07T05:31:56Z"
}
'
[
  {
    "ad_revenue": 123,
    "cid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "finished": 123,
    "id": 123,
    "tagid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "budget_spent": 0,
    "click": 0,
    "conversion": 0,
    "cpa": 0,
    "cpc": 0,
    "cpm": 0,
    "impression": 0,
    "reach": 0,
    "roas": 0
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.aiderx.io/llms.txt

Use this file to discover all available pages before exploring further.

인증

Authorization
string
header
필수

The access token received from the authorization server in the OAuth 2.0 flow.

본문

application/json

캠페인 지표 조회 쿼리

campaign_id
string<uuid>
필수
from_datetime
string<date-time> | null
to_datetime
string<date-time> | null

응답

Successful Response

ad_revenue
number
필수

광고 수익

cid
string<uuid>
필수

캠페인 id

finished
integer
필수

캠페인 종료 여부를 나타냅니다. 0 = 진행중, 1 = 종료

id
integer
필수
tagid
string<uuid>
필수

지면 id

budget_spent
number
기본값:0

지출 금액

click
integer
기본값:0

클릭

conversion
integer
기본값:0

전환

cpa
number
기본값:0

목표당 비용

cpc
number
기본값:0

클릭당 비용

cpm
number
기본값:0

노출 1000회당 비용

impression
integer
기본값:0

노출

reach
integer
기본값:0

도달

roas
number
기본값:0

광고 비용 대비 수익률